import React from 'react';
import ReactDOM from 'react-dom';
import { HashRouter, Switch, Route, Redirect } from 'react-router-dom'
import reportWebVitals from './reportWebVitals';
import App from './App';
import Login from './page/login/index';
//import Register from './pages/Register/index';
//import Create from './pages/Create/index'
import 'antd/dist/antd.css';
import './styles/index.css';



ReactDOM.render(

  <HashRouter>
    <Switch>
      <Route path="/login" component={Login} />
      {/*   <Route path="/register" component={Register} />
      <Route path="/create" component={Create} />

      */}
      <Route path="/" component={App} />

    </Switch>
  </HashRouter>,
  document.getElementById('root')
);

reportWebVitals();
